<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org"
      xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<div th:fragment="main">
    <nav class="navbar navbar-expand-md bg-dark navbar-dark">
        <div class="container">
            <!-- Brand -->
            <a class="navbar-brand" th:href="@{/}">首页</a>
            <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#collapsibleNavbar">
                <span class="navbar-toggler-icon"></span>
            </button>
            <!-- Navbar links -->
            <div class="collapse navbar-collapse" id="collapsibleNavbar">
                <ul class="navbar-nav">
                    <li class="nav-item">
                        <a class="nav-link" href="#">商品管理</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="#">员工管理</a>
                    </li>
                </ul>
                <ul class="navbar-nav ml-auto">
                    <li class="nav-item">
                        <a class="nav-link">你好，</a>
                    </li>
                    <li class="nav-item">
<!--                        <a class="nav-link" th:text="${session.USER.name}"></a>-->
                    </li>
                    <li class="nav-item">
<!--                        <a class="nav-link" th:href="@{/back/login/logout}">[注 销]</a>-->
                    </li>
                </ul>
            </div>
        </div>
    </nav>
</div>
<div th:fragment="footer">
    <div class="container" style="border-top: 2px solid #666;margin-top: 100px">
        copy-right: © 2021 &nbsp;&nbsp;备案号：10000000
    </div>
</div>
